package org.deng.learn.designpattern.state;

/**
 * @author DengLibin
 * @Description 离线状态
 * @Date 2019/3/14 0014 16:13
 */
public class OfflineState implements ClientState {

    @Override
    public void showChatForm() {
        System.out.println("聊天窗口弹出来了");
    }

    @Override
    public void sendMsg(String msg, String receiver) {
        System.out.println("你已经离线，请重新登陆");
    }
}
